package com.pzhu.user.service.template.change;

import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ChangeLogType {
    user(1, "用户变更"),
    role(2, "角色变更"),
    menu(3, "菜单变更"),
    permission(4, "权限变更");

    @EnumValue
    @JsonValue
    private final Integer code;

    private final String desc;
}
